func golang.org/x/mod/module.checkPath

4 uses

	golang.org/x/mod/module (current package)
		module.go#L317: 	if err := checkPath(path, modulePath); err != nil {
		module.go#L362: 	if err := checkPath(path, importPath); err != nil {
		module.go#L385: func checkPath(path string, kind pathKind) error {
		module.go#L497: 	if err := checkPath(path, filePath); err != nil {